ImportSubreport Method (Section Object)

The ImportSubreport method imports a SubreportObject Object into the Section Object. With this call you can insert a subreport object obtained from an existing report file. The inserted Subreport Object will have all of the Objects and Sections of the original (source) report, except for Page Header and Page Footer Sections.

Syntax
Function ImportSubreport (subreportFileName As String,
    Left As Long, Top As Long) As SubreportObject
Parameters

Parameter Description

subreportFileName

Specifies the name of the subreport that you want to import.

Left

Specifies the offset of the top left corner of the Object that you are adding relative to the top left corner of the parent Section, in twips.

Top

Specifies the offset of the top left corner of the Object that you are adding relative to the top left corner of the parent Section, in twips.

Returns

Returns a SubreportObject Object.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com